﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GBits.ContactManager
{
    public partial class frmHelp : Form
    {
        private static frmHelp _frmHelp = null;

        public static frmHelp GetForm()
        {
            if (_frmHelp == null)
                _frmHelp = new frmHelp();
            return _frmHelp;
        }

        private frmHelp()
        {
            InitializeComponent();
        }

        private void frmHelp_Load(object sender, EventArgs e)
        {
            string helpfile = Application.StartupPath + @"\Help\HelpPage.html";
            Console.WriteLine(helpfile);
            wbHelp.Navigate(helpfile);
        }

        private void frmHelp_FormClosed(object sender, FormClosedEventArgs e)
        {
            _frmHelp = null;
        }


    }
}
